<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>输入框获得光标和失去光标事件</title>
	<link rel="stylesheet" href="../libs/bootstrap/css/bootstrap.min.css">
	<script src="http://lib.sinaapp.com/js/angular.js/angular-1.2.19/angular.min.js"></script>
</head>
<body>
	<div ng-app="myApp">
		<h2>angular ng-keyup director</h2>
		<div ng-controller="firstController">
			<div class="form-group">
				<input type="text" placeholder="please input text" id="input" class="form-control" ng-blur="onBlur()" ng-focus="onFocus()">
			</div>
			<!-- <br> --> 
			<!-- <textarea name="input" id="" cols="30" rows="10" id="content"></textarea> -->

			<h1 id="output"></h1>
		</div>
	</div>
	<script src="./example_1.js"></script>
</body>
</html>